Greedy Quasigroups And Greedy Algebras With Applications To Combinatorial Games