piece class with calculate moves function, currently just displays moves but should store them instead