연습문제 5-5: add method for getting one piece of specified position