Converted Hashtable to HashMap (Hashtable was apparently deprecated)
Added function to convert a piece value to a piece letter