excercise in local storage based on http://web.koesbong.com/demo/codingtest/