Creating functions for the logic

Lesson unavailable