Practice problems and solution functions written in Node