Solving the Two Sum Problem from LeetCode using Python: A Step-by-Step Guide