created prompt for height and validation

created prompt for height and while loops for validation