Added all other parts of functions exercise