Made several functions in 3.py, working on finishing up collide and its associated functions