Finished control; Writing to file works
Hour debugging bc I didn't include unistd for lseek..