An attempt to implement simple 2D physical engine for future purposes