head () and tail () Functions Explained with Examples and Codes