Changed the code to determine where the floor is

It now uses the shapesAt function from the hardoncollider.