added more functions to fastaIO.py