Updated readme and initialized the flipping functionality