added switch ast
partial parser for switch