Project for CS2110. Parses the input gene string and calculates the species's gene distance with another species object.