Implemented RandomAgent