Solved ruby/difference-of-squares