Use a user-editable log.Logger to print to console instead of fmt.Println

Fixes https://github.com/sjwhitworth/golearn/issues/48