These programs were developed as an assignment for the course on Computational Linguistics (Linguistica Computazionale) at Unipi (Università di Pisa), 2s2013-1s2014.