State machine introduction Part 1 - LernX