chess on terminal using ruby