Verification of Safety in Artificial Intelligence and Reinforcement Learning Systems