An implementation of the original BouncingShapes in Scala