[#16] added basic physics system with rectangles collision detection