Implemented collisions, though they aren't working for some reason