CFG Top Down and Bottom Up Parsing