Update mainExtended.c

Changed function names to match ICT102 code style guidelines.