ruby: difference-of-squares: working