Added some error checking for exit statements outside of while loops. Added 'eq (==)' and 'ne (!=)' as comparisons.