Build Header, Variables and InitialBeliefState for POMDPX file.