finished part 1 of working with the strategy design pattern