k&r; exercise 1.21 - spaces to tabs with tab stops