This code is not working at all. It was a bug that already existed but it manifesting itself much more clearly. I am not really handling robots that are handling in diagonal directions.