test collision in
making movingobjects compound