fixed issue with balls sticking to each other by adding a small room when setting them up
refactored code to remove most macros