Fixed some issues with write to make it more robust, also added bug tracking in answers.txt