added rigidbody and collider

added rigidbody and collider to player and obstacles
Merge pull request #1 from XJMa/master

added rigidbody and collider