Solutions for problems from http://rosalind.info/problems/locations/