Stuck on compiling sketch

First post here so there is a possibility of formatting issues.
I copied a code from http://www.circuitstoday.com/advanced-digital-code-lock-using-arduino for one of my projects and when I tried to compile it I first got a stray ' 303' in program error which was due to à being present before some statements in the code. Now after I removed them the code refuses to compile and is permanently stuck at compiling

Original Code:
#include<LiquidCrystal.h> Â
LiquidCrystal lcd(7,6,5,4,3,2);
int row[]={A1,A0,8,9};// Defining row pins of keypad connected to Arduino pins
int col[]={10,11,12,13};//Defining column pins of keypad connected to Arduino
int i,j,lcd_count,count=1,key_id=0,flag,entry=0;// See About the Program
int col_scan;// Variable to identify a key press
char temp_press; // Variable to hold value of key press
char check[6],pass[6]; // See About the Program

void setup()
{
lcd.begin(16,2);
for(i=0;i<=3;i++)
{
pinMode(row*,OUTPUT);*
pinMode(col*,INPUT);*
digitalWrite(col*,HIGH);*
}
lcd.print("SET 5 Digit PASS");
}
/* Main Program Begins */
void loop()
{
 while(entry<=4)// Password Setting Loop begins
{
SetPassword();
}
// Password Setting Loop Ends
key_id=0;
keyscan(); // Scan for a Key Press
/* Actions on Key Press begins */
if(key_id==1) // Condition to Check Key is Pressed
{
 check[count]=temp_press;
count++;
/* Condition to Unlock Begins*/
if(temp_press=='A')
{
 checkPassword();
if(flag==0)
{
lcd.setCursor(0,0);
lcd.print("UNLOCKED");
}else{
lcd.setCursor(0,0);
lcd.print("WRONG PASSWORD");
delay(200);
lcd.clear();
lcd.print("LOCKED");
}
count=1; // Resetting the counter variable
}
/* Condition to Unlock Ends*/
/* Condition to Change Password Begins */
else if(temp_press=='C')
{
checkPassword();
if(flag==0)
{
lcd.setCursor(0,0);
lcd.print("ENTER NEW PASS");
key_id=0;
entry=0;
}else{
lcd.setCursor(0,0);
lcd.print("WRONG PASSWORD");
}
count=1; // Resetting the counter variable
}
/* Condition to Change Password Ends */
/* Condition to LOCK Begins*/
else if(temp_press=='B')
{
lcd.setCursor(0,0);
lcd.print("LOCKED");
count=1; // Resetting the counter variable
}
/* Condition to LOCK Ends*/
}
/* Actions on Key Press Ends*/
}
/* Main Program Ends */
void SetPassword() // Subroutine to SET User Defined Password
{
keyscan();
if(key_id==1)
{
if(temp_press=='A'||temp_press=='C'||temp_press=='B') // Condition to Check for an Invalid Keypress
{
lcd.setCursor(0,0);
lcd.print("INVALID KEYS");
entry=0;
}
else
{
 pass[entry]=temp_press;
}
}
key_id=0;
if(entry==5)
{
lcd.clear();
lcd.setCursor(0,0);
lcd.print("PASSWORD SET & LOCKED");
}} // Subroutine to SET Password ENDS
char keyscan()// Subroutine to Scan Keypad for a Keypress
{
for(i=0; i<=3; i++)
{
digitalWrite(row[0],HIGH);
digitalWrite(row[1],HIGH);
digitalWrite(row[2],HIGH);
digitalWrite(row[3],HIGH);
digitalWrite(row*,LOW);*
for(j=0; j<=3; j++)
{
col_scan=digitalRead(col[j]);
if(col_scan==LOW)
{
 key_id=1;
 entry++;
temp_press=keypress(i,j);
lcd.setCursor(lcd_count++,1);
lcd.print(temp_press);
if(temp_press=='A'||temp_press=='C'||temp_press=='B')
{
lcd_count=0;
lcd.clear();
}
delay(300);
break;
}}
}}// Subroutine to Scan Keypress Ends
char keypress(int i, int j) // Subroutine to Identify the value of Key pressed
{
if(i==0&&j==0)
{
return('1');
}
if(i==0&&j==1)
{
return('2');
}
if(i==0&&j==2)
{
return('3');
}
if(i==0&&j==3)
{
return('A');
}
if(i==1&&j==0)
{
return('4');
}
if(i==1&&j==1)
{
return('5');
}
if(i==1&&j==2)
{
return('6');
}
if(i==1&&j==3)
{
return('B');
}
if(i==2&&j==0)
{
return('7');
}
if(i==2&&j==1)
{
return('8');
}
if(i==2&&j==2)
{
return('9');
}
if(i==2&&j==3)
{
return('C');
}
if(i==3&&j==0)
{
return('*');
}
if(i==3&&j==1)
{
return('0');
}
if(i==3&&j==2)
{
return('#');
}
if(i==3&&j==3)
{
return('D');
}
} // Subroutine to identify Keypress Ends
void checkPassword() // Subroutine to Check User Input Data with SET Password
{
flag=0;
for(i=1;i<=5&&flag==0;i++)
{
if(check_==pass*)
{
flag=0;
}
else
{flag=1;
}}} // Subroutine to check password ends*

Slightly modified code(for different keypad):
#include<LiquidCrystal.h>
LiquidCrystal lcd(7,6,5,4,3,2);
int row[]={A1,A0,8,9};// Defining row pins of keypad connected to Arduino pins
int col[]={10,11,12,13};//Defining column pins of keypad connected to Arduino
int i,j,lcd_count,count=1,key_id=0,flag,entry=0;// See About the Program
int col_scan;// Variable to identify a key press
char temp_press; // Variable to hold value of key press
char check[6],pass[6]; // See About the Program
void setup()
{

lcd.begin(16,2);
for(i=0;i<=3;i++)
{
pinMode(row*,OUTPUT);*
pinMode(col*,INPUT);*
digitalWrite(col*,HIGH);*
}
lcd.print("SET 5 Digit PASS");
}
/* Main Program Begins /
void loop()
{
while(entry<=4)// Password Setting Loop begins
{
SetPassword();
}
// Password Setting Loop Ends*

key_id=0;
keyscan(); // Scan for a Key Press
/* Actions on Key Press begins /
if(key_id==1) // Condition to Check Key is Pressed
{
check[count]=temp_press;
count++;
/ Condition to Unlock Begins*/

if(temp_press=='1')
{
* checkPassword();
if(flag==0)
{
lcd.setCursor(0,0);
lcd.print("UNLOCKED");
}else{
lcd.setCursor(0,0);
lcd.print("WRONG PASSWORD");
delay(200);
lcd.clear();
lcd.print("LOCKED");
}
count=1; // Resetting the counter variable
}
/ Condition to Unlock Ends*/

/* Condition to Change Password Begins /
else if(temp_press=='2')
{
checkPassword();
if(flag==0)
{
lcd.setCursor(0,0);
lcd.print("ENTER NEW PASS");
key_id=0;
entry=0;
}else{
lcd.setCursor(0,0);
lcd.print("WRONG PASSWORD");
}
count=1; // Resetting the counter variable
}
/ Condition to Change Password Ends /
/ Condition to LOCK Begins*/

else if(temp_press=='3')
{
lcd.setCursor(0,0);
lcd.print("LOCKED");
count=1; // Resetting the counter variable
}
/* Condition to LOCK Ends*/
}
/* Actions on Key Press Ends*/
}
/* Main Program Ends /
void SetPassword() // Subroutine to SET User Defined Password
{
keyscan();
if(key_id==1)
{
if(temp_press=='1'||temp_press=='2'||temp_press=='3') // Condition to Check for an Invalid Keypress
{
lcd.setCursor(0,0);
lcd.print("INVALID KEYS");
entry=0;
}
else
{_

pass[entry]=temp_press;
_}
}
key_id=0;
if(entry==5)
{
lcd.clear();
lcd.setCursor(0,0);
lcd.print("PASSWORD SET & LOCKED");
}} // Subroutine to SET Password ENDS*

char keyscan()// Subroutine to Scan Keypad for a Keypress
{
for(i=0; i<=3; i++)
{
digitalWrite(row[0],HIGH);
digitalWrite(row[1],HIGH);
digitalWrite(row[2],HIGH);
digitalWrite(row[3],HIGH);
digitalWrite(row*,LOW);*
for(j=0; j<=3; j++)
{
col_scan=digitalRead(col[j]);
if(col_scan==LOW)
{
* key_id=1;*
* entry++;
temp_press=keypress(i,j);
lcd.setCursor(lcd_count++,1);
lcd.print(temp_press);
if(temp_press=='1'||temp_press=='2'||temp_press=='3')
{
lcd_count=0;
lcd.clear();
}
delay(300);
break;
}}
}}// Subroutine to Scan Keypress Ends*

char keypress(int i, int j) // Subroutine to Identify the value of Key pressed
{
if(i==0&&j==0)
{
return('1');
}
if(i==0&&j==1)
{
return('2');
}
if(i==0&&j==2)
{
return('3');
}
if(i==0&&j==3)
{
return('A');
}
if(i==1&&j==0)
{
return('4');
}
if(i==1&&j==1)
{
return('5');
}
if(i==1&&j==2)
{
return('6');
}
if(i==1&&j==3)
{
return('B');
}
if(i==2&&j==0)
{
return('7');
}
if(i==2&&j==1)
{
return('8');
}
if(i==2&&j==2)
{
return('9');
}
if(i==2&&j==3)
{
return('C');
}
if(i==3&&j==0)
{
return('*');
}
if(i==3&&j==1)
{
return('0');
}
if(i==3&&j==2)
{
return('#');
}
if(i==3&&j==3)
{
return('D');
}
} // Subroutine to identify Keypress Ends
void checkPassword() // Subroutine to Check User Input Data with SET Password
{
flag=0;
for(i=1;i<=5&&flag==0;i++)
{
if(check==pass*)
{
flag=0;
}
else
{flag=1;
}}} // Subroutine to check password ends*

Please help_

Please always do an Auto Format (Tools > Auto Format in the Arduino IDE or Ctrl + B in the Arduino Web Editor) on your code before posting it. This will make it easier for you to spot bugs and make it easier for us to read.

Please use code tags when you post code or warning/error messages. To do this, click the </> button on the forum toolbar, then paste the text you want to be in the code tags. Finally, move the cursor out of the code tags before adding any additional text you don't want to be in the code tags. If your browser doesn't show the posting toolbar, then you can manually add the code tags like this:
[code]``[color=blue]// your code is here[/color]``[/code]

The reason for doing this is that, without code tags, the forum software can interpret parts of your code as markup (the italics in your code above, for example), leading to confusion, wasted time, and a reduced chance for you to get help with your problem. This will also make it easier for us to read your code and to copy it to the IDE or editor.

Using code tags and other important information is explained in the "How to use this forum" post. Please read it.

Kemkoooo:
Now after I removed them the code refuses to compile and is permanently stuck at compiling

Are you saying the compilation process just hangs and there is no error message?

This code compiled just fine. Does it run and do what you want? Have no clue.

It does have a good number of warnings that should be sorted out, but it does compile.

#include<LiquidCrystal.h>
LiquidCrystal lcd(7, 6, 5, 4, 3, 2);
int row[] = {A1, A0, 8, 9}; // Defining row pins of keypad connected to Arduino pins
int col[] = {10, 11, 12, 13}; //Defining column pins of keypad connected to Arduino
int i, j, lcd_count, count = 1, key_id = 0, flag, entry = 0; // See About the Program
int col_scan;// Variable to identify a key press
char temp_press; // Variable to hold value of key press
char check[6], pass[6]; // See About the Program

void setup()
{
  lcd.begin(16, 2);
  for (i = 0; i <= 3; i++)
  {
    pinMode(row, OUTPUT);
    pinMode(col, INPUT);
    digitalWrite(col, HIGH);
  }
  lcd.print("SET 5 Digit PASS");
}

/* Main Program Begins */

void loop()
{
  while (entry <= 4) // Password Setting Loop begins
  {
    SetPassword();
  }
  // Password Setting Loop Ends

  key_id = 0;
  keyscan(); // Scan for a Key Press

  /* Actions on Key Press begins */

  if (key_id == 1) // Condition to Check Key is Pressed
  {
    check[count] = temp_press;
    count++;

    /* Condition to Unlock Begins*/

    if (temp_press == '1')
    {
      checkPassword();
      if (flag == 0)
      {
        lcd.setCursor(0, 0);
        lcd.print("UNLOCKED");

      } else {
        lcd.setCursor(0, 0);
        lcd.print("WRONG PASSWORD");
        delay(200);
        lcd.clear();
        lcd.print("LOCKED");
      }
      count = 1; // Resetting the counter variable
    }

    /* Condition to Unlock Ends*/

    /* Condition to Change Password Begins */

    else if (temp_press == '2')
    {
      checkPassword();
      if (flag == 0)
      {
        lcd.setCursor(0, 0);
        lcd.print("ENTER NEW PASS");
        key_id = 0;
        entry = 0;
      } else {
        lcd.setCursor(0, 0);
        lcd.print("WRONG PASSWORD");
      }
      count = 1; // Resetting the counter variable
    }

    /* Condition to Change Password Ends */

    /* Condition to LOCK Begins*/

    else if (temp_press == '3')
    {
      lcd.setCursor(0, 0);
      lcd.print("LOCKED");
      count = 1; // Resetting the counter variable
    }
    /* Condition to LOCK Ends*/
  }

  /* Actions on Key Press Ends*/
}

/* Main Program Ends */


void SetPassword() // Subroutine to SET User Defined Password
{
  keyscan();
  if (key_id == 1)
  {
    if (temp_press == '1' || temp_press == '2' || temp_press == '3') // Condition to Check for an Invalid Keypress
    {
      lcd.setCursor(0, 0);
      lcd.print("INVALID KEYS");
      entry = 0;
    }
    else

    {
      pass[entry] = temp_press;

    }
  }
  key_id = 0;
  if (entry == 5)
  {
    lcd.clear();
    lcd.setCursor(0, 0);
    lcd.print("PASSWORD SET & LOCKED");
  }
} // Subroutine to SET Password ENDS

char keyscan()// Subroutine to Scan Keypad for a Keypress
{
  for (i = 0; i <= 3; i++)
  {
    digitalWrite(row[0], HIGH);
    digitalWrite(row[1], HIGH);
    digitalWrite(row[2], HIGH);
    digitalWrite(row[3], HIGH);
    digitalWrite(row, LOW);
    for (j = 0; j <= 3; j++)
    {
      col_scan = digitalRead(col[j]);
      if (col_scan == LOW)
      {
        key_id = 1;
        entry++;
        temp_press = keypress(i, j);
        lcd.setCursor(lcd_count++, 1);
        lcd.print(temp_press);
        if (temp_press == '1' || temp_press == '2' || temp_press == '3')
        {
          lcd_count = 0;
          lcd.clear();
        }
        delay(300);
        break;
      }
    }
  }
}// Subroutine to Scan Keypress Ends

char keypress(int i, int j) // Subroutine to Identify the value of Key pressed
{
  if (i == 0 && j == 0)
  {
    return ('1');
  }
  if (i == 0 && j == 1)
  {
    return ('2');
  }
  if (i == 0 && j == 2)
  {
    return ('3');
  }
  if (i == 0 && j == 3)
  {
    return ('A');
  }
  if (i == 1 && j == 0)
  {
    return ('4');
  }
  if (i == 1 && j == 1)
  {
    return ('5');
  }
  if (i == 1 && j == 2)
  {
    return ('6');
  }
  if (i == 1 && j == 3)
  {
    return ('B');
  }
  if (i == 2 && j == 0)
  {
    return ('7');
  }
  if (i == 2 && j == 1)
  {
    return ('8');
  }
  if (i == 2 && j == 2)
  {
    return ('9');
  }
  if (i == 2 && j == 3)
  {
    return ('C');
  }
  if (i == 3 && j == 0)
  {
    return ('*');
  }
  if (i == 3 && j == 1)
  {
    return ('0');
  }
  if (i == 3 && j == 2)
  {
    return ('#');
  }
  if (i == 3 && j == 3)
  {
    return ('D');
  }
} // Subroutine to identify Keypress Ends

void checkPassword() // Subroutine to Check User Input Data with SET Password
{
  flag = 0;
  for (i = 1; i <= 5 && flag == 0; i++)
  {
    if (check == pass)
    {
      flag = 0;
    }
    else
    { flag = 1;
    }
  }
} // Subroutine to check password ends