Bouncing physics ball written in Swift inspired by spritekit-swift-physics-bouncing-balls