practice with lists and file I/O
1. Write a function makeList(inList) that takes a list as its argument, and returns a list which is:
- the empty list, if inList is empty,
- the same as inList, if inList contains 1 element,
- the list containing the first and last items in inList, otherwise.
2. Write a Python function firstChar(fileName) which takes a
file name as its argument, and returns a string that is formed from the
first character in each line of the file.