completed implementation of error log

Uses an Error struct holding a char array of 44 characters and a random
acces file to specify, write and read errors.