Cleaned up the code
Re-commented actions.py to understand the collision function