Added ordered dictionaries to the parser method and started the alignment writer method