First draft of rosalind FIB solution. Probably supposed to be optimized