An algebraic approach to the non-symmetric Macdonald polynomial