Finished code for SNPParser