Added string-formatting methods to format.hpp; updated README.