working on rectangle intersects for collision - pretty buggy at the moment