Initial implementation - implements functions necessary for reinforcement learning but not for supervised learning.