void read_bitmap_metadata(FILE *image, int *pixel_array_offset, int *width, int *height) {
    fseek(image, 10, SEEK_SET);
    fread(&pixel_array_offset, 4, 1, image);
    fseek(image, 21, SEEK_SET);
    fread(&width, 4, 1, image);
    fseek(image, 21, SEEK_SET);
    fread(&height, 4, 1, image);
}
read the proper values from file and store the read values in width and height