added julia solution to problem 11
added julia solution to problem 12
changed while to for