When Steven celebrated his first birthday, his grandmother gave him $1. For each birthday after that, she doubled the amount of money that she gave him for the previous birthday. By the time Steven turned nine years old, how much money had his grandmother given him?