added a lot of stuff

from contests and practice