added first sample for scala