added console.log to output grade letter