Best Buy Coding Exercise