How to use Python to build a personal finance tracker with automated expense categorization?