Implement bean

Hey Navin, Here is the completed XML parser that passes the unit test.