Fundamental Group Algorithm for low dimensional tessellated CW complexes