Finished homework one, got encryption algorithm working