Function work

Added practice functions 1-4.