make the following changes
  -add 3 functions for collision detection
  -add test cases and doc
  -update the ReleaseNote