added phaser_demo_4 to index
added distance tracking function and examples