bugfixes in read_bitmap_data() and print_bitmap()
Merge pull request #4 from rbaier/imgprintbugfix

bugfixes in read_bitmap_data() and print_bitmap()