Fixed wall collisions with some ugly if statements. Might want to clean up
the pin and wall files and redesign them a bit.