Getting error message on simple code [solved]

Hi guys, I am very new to programming and purchased a uno to learn on. I was trying to write a simple code to turn a led on with a push button switch. I know I dont need an arduino to do this but like I said I am new and just learning the basics. I keep getting an error when uploading the program to the uno saying "In function 'void loop()': error: expected '}' at the end of input. Here is my program:

int switchPin = 8;
int ledPin = 13;

void setup()
{
pinMode(switchPin, INPUT);
pinMode(ledPin, OUTPUT);
}

void loop()
{
if (digitalRead(switchPin) ==HIGH)
{
digitalWrite(ledPin, HIGH);
}
else
{
digitalWrite(ledPin, LOW);
}

I don't know where I went wrong. Thank for any help you guys could give me.

error: expected '}' at the end of input.

void loop()
{
if (digitalRead(switchPin) ==HIGH)
{
digitalWrite(ledPin, HIGH);
}
else
{
digitalWrite(ledPin, LOW);
}

} //<<<<<<<<<<<<<<<<<<<<< Need one more.

Thank you so much for helping a beginner out Larry! That did it.