Wrote password class