Feature discovery in reinforcement learning using genetic programming