İmplementation of a phonebook by using doubly list and stack