added greeting code and both tests are passing