SAM Parser implemented along with junit tests.