Better implementation for delete node
Adding practice problem solutions