Implemented parsing of statements