Computational Methods for Shell-Model Calculations