bouncing of other particles added
bugfixes in collission time calculation. Also added simple test case in
main.