Added collision and touch sensor support

Changed sample program