Created simple syntax checker