school exercises in *yuck* erlang!