Implemented physics and collisions with Box2D