slogo assignment for CS308 class