Going through Python Practice book and sample problems