Added "Functions" Chapter. Rename some files.

Added "Functions" Chapter,
Rename some files.
Each chapter has one corresponding file.