version 1 of markdown parser program