update server for end system
update client for end system
two funcitons added: addBufferData and repackData
do not add useless packet into LSA buffer
do not use 0, or there is no route for dijkstr
update for the termainal output
make these lock global