error messages working, need to write grammar rules now.