set up duck class

also moved coordinates to duck class
Merge pull request #3 from dlouwe/patch-2

set up duck class