Parser update

parser updated with a parse_tasks function, which returns a list of the
tasks