Collaborative Task Completion for Simulated Hexapod Robots Using Reinforcement Learning