Added hint implementation

Gives an easier problem to solve as hint