When west virginia became a state