Added elif statement to grammar and a snippet.