done implementation of write(),close(),seek(),size(),available(),exist(),position() functions
done implementation of write(),close(),seek(),size(),available(),exist(),position() functions