Design pattern generator for diploma work