   }
 
   return image;
-}
+}*/
 
 
 // Check if two values are similar, threshold can be changed.



// Serial ray casting
unsigned char* raycast_serial(unsigned char* data, unsigned char* region){
  unsigned char* image = (unsigned char*)malloc(sizeof(unsigned char)*IMAGE_DIM*IMAGE_DIM);

  // Camera/eye position, and direction of viewing. These can be changed to look


  unsigned char* data = create_data();

  //printf("Data created");

  unsigned char* region = grow_region_serial(data);

  //printf("Region grown");

  unsigned char* image = raycast_gpu(data, region);

  write_bmp(image, IMAGE_DIM, IMAGE_DIM);
}
