Refactored asteroid code and started collision detection algorithm