Added floating-point support and heading (Exercise 1-3, Page 13).