Revert "Revert "First version of Ball collision simulation""

This reverts commit 45d7dce202517b42d729f4b38d3076d4ac0f53cf.