added read and write. write works, read cant be tested since open doesnt work
added read and write. write works, read cant be tested since open doesnt work

hnduong/EECS111,hnduong/EECS111,hnduong/EECS111,hnduong/EECS111