Correct collision code, added function for adding shadows