Implemented collisions. Thanks to http://simonpstevens.com/articles/vectorcollisionphysics for algorithm.