story of writing mahabharat