Improve the ReflexAgent in multiAgents.py to play respectably