 
 
 
-char* dynamic_array_Serial(SoftwareSerial*,int);
+char* dynamic_array_Serial(SoftwareSerial*,int,char,char);
 //----------------------------Setup Code-----------------------------------------------//
 void setup() {
 	pinMode(MOTOR_1_PIN, OUTPUT);

  while(src.available()>0){//Cant go into this loop
    char temp=src.read();
    delay(20);
    if(temp!='*'){
      max_array[array_length-1]=temp;
      array_length++;
      //Serial.println(max_array[array_length-1]);

   
    //gpsbuffer[i]=" ";
  }
  Serial.println();
 //	}
 /* else{
    Serial.println("Fail to communicate!");
  }
 */
  //Serial.println();
//	For Testing only
  array_length=1;
  //Serial.println("Flushing serial");
  //gpsSerial.flush();
  free(gpsbuffer);
  delay(1000);//Waiting for bytes to fill IO buffer
  

}
char* dynamic_array_Serial(SoftwareSerial src,int max_length,char start_char,char terminator){
  src.listen();
  while(src.available()<=0);//Waiting for bytes to fill buffer
  while(src.read()!=start_char);//Waiting for the start char
  extern int array_length;
  Serial.println("Successful");
  //Serial.println(array_length); Testing
