Fixed insert method. Tested and properly outputs binary to biofile.bin.