Added first iternation of the gcm code.