A method for solving multiple autonomous robots collisions problem using space and time representation