Added hint giving. Still buggy but passable.