Fixed all warnings and implemented collisions in Box2D