Implements #39
Using Java7 feature of simplified generics. Fixes #39
Merge branch 'master' of https://github.com/lrozenblyum/chess