Implement feedback for word guessing game | Dropbox Interview Question