Implement program for 5-2

Implement program attempting to write to the start of a file with
O_APPEND and a script using the program to demonstrate how it works.