Added "isKeyword" method. Fixed typos/formatting