Base script scructure for every problem