Battle Ship game in C