Practicing functions,patterns and guards