Added transition function
Successfully implemented Critters