Simple exercice to introduce object programming in JS.