Added collision detection and handling between objects. Added exchange of ghost objects which are included in collision detection.