Converting map values to the right int
Remove unneccesary code
Merge branch 'master' of https://github.com/maxanier/battleships
Notifying gui about result