Given a list of prices and a budget, tell me what items I can afford.
Input: [10, 20, 30, 40], budget = 50
Two items can be purchased with the given budget: the 10-item and the 20-item.
With a budget of 50, you can afford the items at 10, 20, 30, and 40.