Algorithms implemented in java used to brush up on programming skills