연습문제 3-3: P for black, p for white 
change constructor (add one parameter for label)