Homework 5 submission

Would be more idiomatic to just put "if(keyExists(k))" ... no need for the "== true" part