Different logic exercises and introduction to Python