adding code for genesis block creation