Small programs & algorithms written in Java