code used in coder dojo assignments