Finally got the damn write to work. Wow, idk why but soooooo many little buggy things this was ridiculous anytime I changed something needed like converting the content to hex and from hex, it would mess up the working parts. Took hours of testing. Now, create, makes a file and stored it after the MBR in the first freespace. Write then checks if the filename exists, finds it in the HDD, changes the address pointer of the file to the first available block in track 1. Then it converts the write contents to hex and stores them in that block in the HDD, if there is any overflow it puts it in the next available space and changes the previous address pointer bits to the new block.