Implemented 'insert at front' plus bug fixing