initial commit, first three functions solved
merged