Followed the book'Beginning Python - From Novice to Professional' by Magnus Lie Hetland