Simple exercise for command-line