PSEUDO CODE