An adjustable-rate mortgage could help you save on interest when you buy a home, but how does it work?