Added definition of exit to top constants
Added isexit to the isspec clause
Added EXIT case to the switch loop in main

This ought to work for adding the exit functionality