This project looks too ambitious for schooling. If
this is work, then you need some reading into java
online info. There are more than one choices, as I
see it. You can use indexing or vector. Each have it
own pro and con. Everything else are just logic
algorithm.