modify add method, add data in the front of head