Added definition for open_file()
Added open_file() method
Added definition for write_file()
Now writes width and height directly to struct
Misspelled height... again
Fixed compilation errors
Fixed compilation errors
Added write_file() method
Included stdlib
Removed extra #include