State.hs exercises completed