Solving Multi-Entity Robotic Problems Using Permutation Invariant Neural Networks