Man injured after crashing into tree