moved collide with function from asteroid.js to movingobject.js