Commit beacause you guys asked for it :D

Actually i dont remember at what poitn i finshed but you can look on my
work and maybe it will help u to start :) Krzysiek if there is some
missconceptions in this code let me know