Included iostream in data.hpp to fix compile errors.