my attempt at working through Hartl's book - first app.