Indexing functions
Merge branch 'master' of https://github.com/dlpeatman/lab3