Added collision example code from wiki