open file and graphic

added the open file and pointer, also made a graphic of what i think the
array should look like