Error Message wont go away

Hi
I am busy writing a code for a project I'm working on. The code compiles when I comment out the errors. Please could somebody help me fix the issue I'm having.
Here is the code

/*
Home Alarm System by ###########
*/
#include <Password.h> //http://www.arduino.cc/playground/uploads/Code/Password.zip
#include <Keypad.h> //Arduino Playground - HomePage
#include <LiquidCrystal.h>
#include <Wire.h>

Password password = Password( "1234" );

const byte ROWS = 4; // Four rows
const byte COLS = 4; // columns

// Define the Keymap
char keys[ROWS][COLS] = {
{'1', '2', '3', 'A'},
{'4', '5', '6', 'B'},
{'7', '8', '9', 'C'},
{'*', '0', '#', 'D'}
};
byte rowPins[ROWS] = {
46, 47, 48, 49
}; //connect to the row pinouts of the keypad
byte colPins[COLS] = {
50, 51, 52, 53
}; //connect to the column pinouts of the keypad

// Create the Keypad
Keypad keypad = Keypad( makeKeymap(keys), rowPins, colPins, ROWS, COLS );

// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(7, 8, 9, 10, 11, 12); // Assignign arduino pins to LCD display module

int alarmStatus = 0; // high if alarm is set
int alarmActive = 0; // high if alarm is set
int zone = 0;
int evaluate = 0;

const int pir = 39; //Pir Sensor
const int led = 33; //Flashing LED
const int led2 = 31; //Green LED
const int led3 = 32; //Red LED
const int piez = 35; //Buzzer

void setup () {
keypad.getKey();
}

void loop () {
}
void checkPassword() {
if (password.evaluate()) {
switch (keypad.getState())
case PRESSED:

Serial.println("System Activated");
} else {
Serial.println(" Wrong passwowrd!");
password.reset();
// TODO: clear the screen output
lcd.print("*");
}

}
{
void alarmTriggered() {
digitalWrite(piez, HIGH);
digitalWrite(led, HIGH);
} // function ends here

if (alarmActive == 1)
if (digitalRead(pirPin1) == HIGH)
zone = 0;
}
else {
noTone(piez); {
void alarmTriggered();
int incr;
digitalWrite(piez, HIGH);
digitalWrite(led, HIGH);
} // function ends here
//
// so this code isn't in a function. That's not allowed
}
//
password.reset();
// alarmActive = 0;
lcd.clear();
lcd.setCursor(0, 2);
lcd.print(" SYSTEM TRIGGERED ");
if (zone == 1)

}
//take care of some special events
void keypadEvent(KeypadEvent eKey) {
switch (keypad.getState()) {
case PRESSED:
Serial.print("Pressed: ");
Serial.println(eKey);
switch (eKey) {
case '*': ; break;
case '#': password.reset(); break;
default: password.append(eKey);
}
}
}

void checkPassword() { // To check if PIN is corrected, if not, retry!
if (password.evaluate())
{
if (alarmActive == 0 && alarmStatus == 0)
{
void alarmactivation();
}
else if ( alarmActive == 1 || alarmStatus == 1) {
void deactivate();
}
}
else {
void invalidCode();
}
}

void invalidCode() { // display message when a invalid is entered
password.reset();
lcd.clear();
lcd.setCursor(1, 0);
lcd.print("INVALID CODE!TRY AGAIN!");
digitalWrite(led2, LOW);
digitalWrite(led3, HIGH);
delay(2000);
}
void activate() // Activate the system if correct PIN entered and display message on the screen
{
if (digitalRead(pir) == HIGH) {
digitalWrite(led3, HIGH);
digitalWrite(led2, LOW);
digitalWrite(2, HIGH);
lcd.setCursor(0, 0);
lcd.print("SYSTEM ACTIVE!");
alarmActive = 1;
password.reset();
delay(2000);
}
else {
deactivate(); // if PIN not corrected, run "deactivate" loop
}
}
void deactivate()
{
alarmStatus = 0;
digitalWrite(led3, LOW);
digitalWrite(led2, HIGH);
lcd.clear();
lcd.setCursor(0, 0);
lcd.print(" SYSTEM DEACTIVATED!");
digitalWrite(piez, LOW);
alarmActive = 0;
password.reset();
delay(5000);
}
void displayCodeEntryScreen() // Dispalying start screen for users to enter PIN
{
lcd.clear();
lcd.setCursor(0,0);
lcd.print("Enter PIN:");
lcd.setCursor(0,2);
lcd.print("By: Your Name");

}

This is the error I get:
Arduino: 1.6.5 (Windows 7), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"

arduino_alarm_code:71: error: expected unqualified-id before '{' token
arduino_alarm_code:76: error: expected unqualified-id before 'else'
expected unqualified-id before '{' token

This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.

Thanks in advance
Regards

This is an interesting construct:

{
void alarmTriggered() {
      digitalWrite(piez, HIGH);
      digitalWrite(led, HIGH);
    } // function ends here

The error message gives you the exact line number, and character position, where the error is. It also tells you the exact error: you have a { where it doesn't belong. Count your braces. Format the code so you can SEE that they are all matched properly. Hint: they are NOT.

Regards,
Ray L.