Update Zad2.java
Merge pull request #1 from matesik1995/patch-2

Update Zad2.java