In this paper we are presenting a new method for studying the semigroups of order three and four. We are going to explore these semigroups and illustrate a better description of them while observing their enormous increasing in number for larger orders. We are presenting the methods we wrote and followed during our study of associativity and during the classification process.