Added coordinate getting, s-box lookups, and final encryption.