Added algorithm stuff, needs fine tuning. Uses only 1 type of transition (seemed more fair)