a couple of interview problems - initial commit