mass; add attract() method to Shape class