Various task solutions implemented in Java.