Add a solution to the problem 91
Optimize the solution

http://en.wikipedia.org/wiki/Slope
Two lines are perpendicular if the product of their slopes is −1
Rename some identifiers