Fix compiler warnings on Linux.
Move Farey sequence methods into library.
Solve problem 73 using Ruby.