Initial commit, methods necessary for 1st problem implemented