"void does not name a type"
I thing the problem is not "void does not name a type", but "Void does not name a type".  Subtle difference:

Void setup()


should read:

void setup()


The same on

Void loop()


should be

void loop()


Watch those caps - C is case sensitive.