debugging on my first day with python