UI changes and frontend implementation of nearest k begun
front end done with k nearest and rectangle bound fully integrated