Initial solution outputting to Java and C#