Groupoids And Semigroups In Algebra