implemented randomGreetings function, added comments and value/type exercise