implemented eight queens problem
reverse a single link list and string